package android.pot.com.smartcar.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class AreaEntity implements Serializable{

    private  List<AreaOutData> data = new ArrayList<>();

    public List<AreaOutData> getData() {
        return data;
    }

    public void setData(List<AreaOutData> data) {
        this.data = data;
    }

    public class AreaOutData implements Serializable{

        private String a_name;

        private int id;

        private List<AreaData> childs = new ArrayList<>();

        public List<AreaData> getChilds() {
            return childs;
        }

        public void setChilds(List<AreaData> childs) {
            this.childs = childs;
        }

        public String getA_name() {
            return a_name;
        }

        public void setA_name(String a_name) {
            this.a_name = a_name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }

    public class AreaData implements Serializable{

        private String a_name;

        private int id;

        private boolean isSelect;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getA_name() {
            return a_name;
        }

        public void setA_name(String a_name) {
            this.a_name = a_name;
        }
    }
}
